package com.china.zhuoyue.ui.activity.commom

import android.view.View
import com.china.zhuoyue.BuildConfig
import com.china.zhuoyue.databinding.ActivitySettingBinding
import com.china.zhuoyue.ui.base.BaseActivity
import com.china.zhuoyue.ui.ext.toastMessageLong

class SettingActivity : BaseActivity<ActivitySettingBinding>() {
    override fun initView() {
        loadView {
            bindViewClick(rlClearCache)
        }
    }

    override fun initData() {
        vb.tvVersion.text = BuildConfig.VERSION_NAME
    }

    override fun onClick(v: View?) {
        when (v) {
            vb.rlClearCache -> "清除成功".toastMessageLong()
        }
    }
}